package com.tomecode.mjprocessor.assembly;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * Root object contais all projects
 * 
 * @author Frastia Tomas
 * 
 */
public final class Assembly {

	/**
	 *list of projects
	 */
	private final List<Project> projects;

	public Assembly() {
		projects = new ArrayList<Project>();
	}

	/**
	 * add new {@link Project}
	 * 
	 * @param project
	 */
	public final void addProject(Project project) {
		projects.add(project);
	}

	/**
	 * list of {@link Project}
	 * 
	 * @return
	 */
	public final List<Project> getProjects() {
		return projects;
	}

}
